package com.cq.hd.order.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderSettleBillFeeTempVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "订单结算支付流水记录表id")
    private Long orderSettleBillId;

    @ApiModelProperty(value = "交易类型(1-商品本金,2-商品补贴,3-佣金)")
    private Integer tradeType;

    @ApiModelProperty(value = "手续费金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal feeAmt;

    @ApiModelProperty(value = "进款方商户号")
    private String inHfId;

    @ApiModelProperty(value = "进款方现金户")
    private String inHfAcctId;

    @ApiModelProperty(value = "请求日期")
    private String reqDate;

    @ApiModelProperty(value = "请求流水号")
    private String reqSeqId;

    @ApiModelProperty(value = "交易状态(1-支付成功，2-支付失败,3-处理中)")
    private Integer tradeState;

    @ApiModelProperty(value = "交易失败原因")
    private String tradeFailReason;

    @ApiModelProperty(value = "交易时间")
    private LocalDateTime tradeTime;

    @ApiModelProperty(value = "创建者")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
